package com.linxiao.hrcrm.mapper;

import java.util.List;
import com.linxiao.hrcrm.domain.CrmBalanceFlow;

/**
 * 余额流水记录Mapper接口
 * 
 * @author zhoudong
 * @date 2024-01-03
 */
public interface CrmBalanceFlowMapper 
{
    /**
     * 查询余额流水记录
     * 
     * @param id 余额流水记录主键
     * @return 余额流水记录
     */
    public CrmBalanceFlow selectCrmBalanceFlowById(Long id);

    /**
     * 查询余额流水记录列表
     * 
     * @param crmBalanceFlow 余额流水记录
     * @return 余额流水记录集合
     */
    public List<CrmBalanceFlow> selectCrmBalanceFlowList(CrmBalanceFlow crmBalanceFlow);

    /**
     * 新增余额流水记录
     * 
     * @param crmBalanceFlow 余额流水记录
     * @return 结果
     */
    public int insertCrmBalanceFlow(CrmBalanceFlow crmBalanceFlow);

    /**
     * 修改余额流水记录
     * 
     * @param crmBalanceFlow 余额流水记录
     * @return 结果
     */
    public int updateCrmBalanceFlow(CrmBalanceFlow crmBalanceFlow);

    /**
     * 删除余额流水记录
     * 
     * @param id 余额流水记录主键
     * @return 结果
     */
    public int deleteCrmBalanceFlowById(Long id);

    /**
     * 批量删除余额流水记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmBalanceFlowByIds(Long[] ids);
}
